projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6ed1133
)
Do not issue a warning on XendDomainInfo.recreate for dom0 -- this is normal
author
Ewan Mellor
<ewan@xensource.com>
Tue, 27 Mar 2007 13:34:34 +0000
(14:34 +0100)
committer
Ewan Mellor
<ewan@xensource.com>
Tue, 27 Mar 2007 13:34:34 +0000
(14:34 +0100)
on a clean machine.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
tools/python/xen/xend/XendDomainInfo.py
patch
|
blob
|
history
diff --git
a/tools/python/xen/xend/XendDomainInfo.py
b/tools/python/xen/xend/XendDomainInfo.py
index 7d468cb43e7d960712ef0fe2263b1c313fdc8f13..4b155c3dacb402ef852e5b578f331ac5b16c2ee5 100644
(file)
--- a/
tools/python/xen/xend/XendDomainInfo.py
+++ b/
tools/python/xen/xend/XendDomainInfo.py
@@
-152,8
+152,9
@@
def recreate(info, priv):
try:
vmpath = xstransact.Read(dompath, "vm")
if not vmpath:
- log.warn('/local/domain/%d/vm is missing. recreate is '
- 'confused, trying our best to recover' % domid)
+ if not priv:
+ log.warn('/local/domain/%d/vm is missing. recreate is '
+ 'confused, trying our best to recover' % domid)
needs_reinitialising = True
raise XendError('reinit')